package com.ysepay.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by zhongchunyan
 *
 * @Date 2017/9/13 15:06
 */
@Component
@ConfigurationProperties(prefix = "ys.config")
public class PropertyConfig {

    @Value("PATH_PARTER_PKCS12")
    private String PATH_PARTER_PKCS12;
    @Value("PASSWORD_PARTNER_PKCS12")
    private String PASSWORD_PARTNER_PKCS12;
    @Value("PATH_YSEPAY_PUBLIC_CERT")
    private String PATH_YSEPAY_PUBLIC_CERT;
    @Value("RSA_ALGORITHM")
    private String RSA_ALGORITHM;
    @Value("DEFAULT_CHARSET")
    private String DEFAULT_CHARSET;
    @Value("PARTNER_ID")
    private String PARTNER_ID;
    @Value("SELLER_NAME")
    private String SELLER_NAME;
    @Value("VERSION")
    private String version;
    @Value("YSEPAY_GATEWAY_URL")
    private String YSEPAY_GATEWAY_URL;
    @Value("YSEPAY_GATEWAY_URL_DF")
    private String YSEPAY_GATEWAY_URL_DF;
    @Value("YSEPAY_GATEWAY_URL_DS")
    private String YSEPAY_GATEWAY_URL_DS;
    @Value("NOTIFY_URL")
    private String notifyUrl;
    @Value("RETURN_URL")
    private String returnUrl;

    public String getPATH_PARTER_PKCS12() {
        return PATH_PARTER_PKCS12;
    }

    public void setPATH_PARTER_PKCS12(String PATH_PARTER_PKCS12) {
        this.PATH_PARTER_PKCS12 = PATH_PARTER_PKCS12;
    }

    public String getPASSWORD_PARTNER_PKCS12() {
        return PASSWORD_PARTNER_PKCS12;
    }

    public void setPASSWORD_PARTNER_PKCS12(String PASSWORD_PARTNER_PKCS12) {
        this.PASSWORD_PARTNER_PKCS12 = PASSWORD_PARTNER_PKCS12;
    }

    public String getPATH_YSEPAY_PUBLIC_CERT() {
        return PATH_YSEPAY_PUBLIC_CERT;
    }

    public void setPATH_YSEPAY_PUBLIC_CERT(String PATH_YSEPAY_PUBLIC_CERT) {
        this.PATH_YSEPAY_PUBLIC_CERT = PATH_YSEPAY_PUBLIC_CERT;
    }

    public String getRSA_ALGORITHM() {
        return RSA_ALGORITHM;
    }

    public void setRSA_ALGORITHM(String RSA_ALGORITHM) {
        this.RSA_ALGORITHM = RSA_ALGORITHM;
    }

    public String getDEFAULT_CHARSET() {
        return DEFAULT_CHARSET;
    }

    public void setDEFAULT_CHARSET(String DEFAULT_CHARSET) {
        this.DEFAULT_CHARSET = DEFAULT_CHARSET;
    }

    public String getPARTNER_ID() {
        return PARTNER_ID;
    }

    public void setPARTNER_ID(String PARTNER_ID) {
        this.PARTNER_ID = PARTNER_ID;
    }

    public String getSELLER_NAME() {
        return SELLER_NAME;
    }

    public void setSELLER_NAME(String SELLER_NAME) {
        this.SELLER_NAME = SELLER_NAME;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getYSEPAY_GATEWAY_URL() {
        return YSEPAY_GATEWAY_URL;
    }

    public void setYSEPAY_GATEWAY_URL(String YSEPAY_GATEWAY_URL) {
        this.YSEPAY_GATEWAY_URL = YSEPAY_GATEWAY_URL;
    }

    public String getYSEPAY_GATEWAY_URL_DF() {
        return YSEPAY_GATEWAY_URL_DF;
    }

    public void setYSEPAY_GATEWAY_URL_DF(String YSEPAY_GATEWAY_URL_DF) {
        this.YSEPAY_GATEWAY_URL_DF = YSEPAY_GATEWAY_URL_DF;
    }

    public String getYSEPAY_GATEWAY_URL_DS() {
        return YSEPAY_GATEWAY_URL_DS;
    }

    public void setYSEPAY_GATEWAY_URL_DS(String YSEPAY_GATEWAY_URL_DS) {
        this.YSEPAY_GATEWAY_URL_DS = YSEPAY_GATEWAY_URL_DS;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getReturnUrl() {
        return returnUrl;
    }

    public void setReturnUrl(String returnUrl) {
        this.returnUrl = returnUrl;
    }
}
